package com.hxy.travel.dao;

import com.hxy.travel.pojo.TravelGroup;
import com.hxy.travel.pojo.TravelItem;

import java.util.List;
import java.util.Map;

public interface TravelGroupDao {


    void addTravelGroup(TravelGroup travelGroup);

    void addTravelGroupAndItem(Map<String, Integer> map);

    List<TravelGroup> findPage(String queryString);

    TravelGroup selectById(Integer id);

    void editTravelGroup(TravelGroup travelGroup);

    void deleteTravelGroupAndItemById(Integer id);

    int selectTravelItemByItemId(Integer id);

    void deleteTravelItemById(Integer id);

    List<TravelGroup> findAll();


    List<TravelItem> selectTravelGroupList();


    List<Integer> selectTravelGroupBySetmealId(Integer id);

    List<TravelGroup>selectTravelGroupBySetId(Integer id);
}
